package aip.project.controller.bio.Admin.AggiungiOfferta;

import org.slim3.controller.Controller;
import org.slim3.controller.Navigation;
import org.slim3.util.RequestMap;

import aip.project.service.OfferteService;

public class AggiungiController extends Controller {

    OfferteService service = new OfferteService();
    @Override
    public Navigation run() throws Exception {
        service.addOfferta(new RequestMap(request));
        return redirect(basePath);
    }
}
